import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'

// 设置本地Token
export function getToken () {
  return Cookies.get(TokenKey)
}
// 获取本地Token
export function setToken (token) {
  return Cookies.set(TokenKey, token)
}
// 删除本地Token
export function removeToken () {
  return Cookies.remove(TokenKey)
}
